
<div class="span10">

<?if(!empty($positions)):?>
	<table class="table">
		<thead>
			<tr>
				<th>Position Name</th>
				<th>Position Description</th>
			</tr>
		</thead>
			<?foreach($positions as $p):?>
				<tr>
					<td><?=$p->position_name;?></td>
					<td><?=$p->position_desc;?></td>
					<td><a href="<?=site_url('position/update/'.$p->id);?>" title="update entry" class="btn btn-mini btn-success"><i class=" icon-pencil icon-white"></i></a>
						<a href="<?=site_url('position/delete/'.$p->id);?>" title="delete entry" class="btn btn-mini btn-danger"><i class=" icon-remove icon-white"></i></a></td>
					</tr>
			<?endforeach;?>
				<tr>
					<td><a href="<?=site_url('position/add');?>" title="Add New Entry" class="btn btn-mini btn-primary"><i class=" icon-plus icon-white"></i></a></td>
				</tr>
		<tbody>
		</tbody>
	</table>
<?else:?>
	<div class="alert alert-info">
		<h4>Notice</h4>
		<p>No positions available to show.</p>
	</div>
	
<?endif;?>
</div>